package com.bootdo.mall.dao;

import com.bootdo.mall.domain.MallIndexCategory;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 首页分类
 * @author lujingqian
 * @email 2100272728@qq.com
 * @date 2019-11-12 14:49:19
 */
@Mapper
public interface MallIndexCategoryDao {

	MallIndexCategory get(Long id);
	
	List<MallIndexCategory> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(MallIndexCategory mallIndexCategory);
	
	int update(MallIndexCategory mallIndexCategory);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);
}
